package com.xxg.renrenuser.domain.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 快递查询参数
 *
 * @author xxg
 * @date 2020-09-26
 */
@Data
@ApiModel(value = "ExpressQuery", description = "快递查询参数")
public class ExpressQuery {
    @NotNull(message = "expCode不能为null")
    @ApiModelProperty(value = "快递公司代码", required = true)
    private String expCode;
    @NotNull(message = "expNo不能为null")
    @ApiModelProperty(value = "快递单号", required = true)
    private String expNo;
    @ApiModelProperty(value = "收件人或寄件人的手机号码后四位")
    private String customerPhone;
}
